package com.yunpeng.dishes.common.vo;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * DishesFoodVO
 *
 * @author : Moore(hemw)
 * @date : 2020-03-26
 */
public class DishesFoodVO implements Serializable {

    /**
     * 食材编码
     */
    private String code;

    /**
     * 食材名称
     */
    private String name;
    /**
     * 食材类别
     * 蔬菜
     * 肉类
     * 禽类
     * 蘑菇
     * 谷类
     * ...
     */
    private String category;
    /**
     * 食材净重
     */
    private BigDecimal netContent;
    /**
     * 食材占比
     */
    private BigDecimal foodProportion;
    /**
     * 展示序号
     */
    private Short seq;

    public DishesFoodVO(String code, String name, String category, BigDecimal netContent, BigDecimal foodProportion, Short seq) {
        this.code = code;
        this.name = name;
        this.category = category;
        this.netContent = netContent;
        this.foodProportion = foodProportion;
        this.seq = seq;
    }

    public DishesFoodVO() {
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public BigDecimal getNetContent() {
        return netContent;
    }

    public void setNetContent(BigDecimal netContent) {
        this.netContent = netContent;
    }

    public BigDecimal getFoodProportion() {
        return foodProportion;
    }

    public void setFoodProportion(BigDecimal foodProportion) {
        this.foodProportion = foodProportion;
    }

    public Short getSeq() {
        return seq;
    }

    public void setSeq(Short seq) {
        this.seq = seq;
    }

    @Override
    public String toString() {
        return "DishesFoodVO{" +
                "code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", category='" + category + '\'' +
                ", netContent=" + netContent +
                ", foodProportion=" + foodProportion +
                ", seq=" + seq +
                '}';
    }
}
